package com.netty.server.sender;

import com.netty.server.processor.down.BaseData;
import com.netty.server.processor.down.DownCmdEnum;
import lombok.Data;

/**
 * 下行的请求体
 *
 * @author: 王霄
 * @date: 2022/1/19 10:51
 **/
@Data
public class CmdRequest {
    private String mac;
    private DownCmdEnum cmd;
    private long cmdId;
    private BaseData data;
    private Callback callback = new Callback.EmptyCallback();
    private boolean needAck;
    private Long timeout;
}
